!macro customInstall
  DetailPrint "Register uat-record URI Handler"
  DeleteRegKey HKCR "uat-record"
  WriteRegStr HKCR "uat-record" "" "URL:uat-record"
  WriteRegStr HKCR "uat-record" "URL Protocol" ""
  WriteRegStr HKCR "uat-record\shell" "" ""
  WriteRegStr HKCR "uat-record\shell\Open" "" ""
  WriteRegStr HKCR "uat-record\shell\Open\command" "" "$INSTDIR\${APP_EXECUTABLE_FILENAME} %1"
!macroend